Community Ecology: Analytical Methods Using R and Excel (Data in the Wild) by Mark Gardener
Author:Mark Gardener [Gardener, Mark]
Language: eng
Format: azw3
ISBN: 9781907807633
Publisher: Pelagic Publishing
Published: 2014-03-28T04:00:00+00:00
So, using Excel to determine beta diversity is fairly straightforward but, of course, the more samples you have the more ‘individual’ your formulae will become. Using R gives a bit more flexibility because you do not have to create formulae for individual groups of samples. In the following exercise you can have a go at calculating the beta diversity using the same ground beetle data.
Have a Go: Use R to calculate beta diversity for species richness using replicated habitat data
You will need the CERE.RData file for this exercise; you’ll be looking at the ground beetle data. There are two data items gb.biol contains the community data and gb.site contains the habitat information. You’ll also need the vegan package.
1. Start by making sure that the vegan package is loaded and ready:
> library(vegan)
2. The gamma diversity can be found for the habitats by with the specnumber() command, which allows a grouping variable to be used:
> gamma <- specnumber(gb.biol, gb.site$Habitat)
> gamma
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Sapiens: A Brief History of Humankind by Yuval Noah Harari(14328)
The Tidewater Tales by John Barth(12629)
Mastermind: How to Think Like Sherlock Holmes by Maria Konnikova(7285)
Do No Harm Stories of Life, Death and Brain Surgery by Henry Marsh(6913)
The Thirst by Nesbo Jo(6891)
Why We Sleep: Unlocking the Power of Sleep and Dreams by Matthew Walker(6667)
Life 3.0: Being Human in the Age of Artificial Intelligence by Tegmark Max(5520)
Sapiens by Yuval Noah Harari(5334)
The Longevity Diet by Valter Longo(5045)
The Body: A Guide for Occupants by Bill Bryson(5038)
The Rules Do Not Apply by Ariel Levy(4917)
The Immortal Life of Henrietta Lacks by Rebecca Skloot(4557)
Animal Frequency by Melissa Alvarez(4433)
Why We Sleep by Matthew Walker(4402)
The Hacking of the American Mind by Robert H. Lustig(4343)
Yoga Anatomy by Kaminoff Leslie(4336)
All Creatures Great and Small by James Herriot(4280)
Double Down (Diary of a Wimpy Kid Book 11) by Jeff Kinney(4245)
Embedded Programming with Modern C++ Cookbook by Igor Viarheichyk(4146)